package com.xx.douyi.config;

import java.util.List;

import cn.hutool.poi.excel.sax.handler.RowHandler;

import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;

/**
 * 读取头
 *
 * @author Jiaju Zhuang
 */
@Slf4j
public class RowHan implements RowHandler {

    @Override
    public void handle(int i, int i1, List<Object> list) {
        log.info(i+","+i1);
        for (Object o : list) {
            log.info(JSON.toJSONString(o));
        }
    }
}
